package com.ruoyi.warehouse.mapper;

import com.ruoyi.warehouse.domain.Detail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author lemon
 * @date 2025/01/13 21:54
 **/
@Mapper
@Repository
public interface DetailMapper {
    /**
     * 批量插入明细
     * @param collect 明细
     */
    void insertBatch(@Param("collect") List<Detail> collect);
}
